function e(e, a, i) {
    return a in e ? Object.defineProperty(e, a, {
        value: i,
        enumerable: !0,
        configurable: !0,
        writable: !0
    }) : e[a] = i, e;
}

var a;

getApp();

Page((a = {
    data: {
        routers: [ {
            id: "0",
            name: "菜品识别",
            url: "../../pages/dish/dish",
            icon: "../../image/dishNine.png"
        }, {
            id: "1",
            name: "车型识别",
            url: "../../pages/car/car",
            icon: "../../image/carNine.png"
        }, {
            id: "2",
            name: "植物识别",
            url: "../../pages/plant/plant",
            icon: "../../image/plantNine.png"
        }, {
            id: "13",
            name: "花卉识别",
            url: "../../pages/flower/flower",
            icon: "../../image/flower.png"
        }, {
            id: "19",
            name: "红酒识别",
            url: "../../pages/redwine/redwine",
            icon: "../../image/redwine.png"
        }, {
            id: "20",
            name: "景区识别",
            url: "../../pages/landmark/landmark",
            icon: "../../image/landmark.png"
        }, {
            id: "23",
            name: "面相分析",
            url: "../../pages/physiognomy/physiognomy",
            icon: "../../image/physiognomy.png"
        }, {
            id: "22",
            name: "速算题目识别",
            url: "../../pages/quickcalculation/quickcalculation",
            icon: "../../image/quickcalculation.png"
        }, {
            id: "12",
            name: "快乐相似脸",
            url: "../../pages/facedetectcrossageface/facedetectcrossageface",
            icon: "../../image/ageNine.png"
        }, {
            id: "3",
            name: "动物识别",
            url: "../../pages/animal/animal",
            icon: "../../image/animalNine.png"
        }, {
            id: "6",
            name: "肤质分析",
            url: "../../pages/skin/skin",
            icon: "../../image/skin.png"
        }, {
            id: "7",
            name: "品牌LOGO识别",
            url: "../../pages/logo/logo",
            icon: "../../image/tag_HL.png"
        }, {
            id: "14",
            name: "图片转字符图片",
            url: "../../pages/image2ascii/image2ascii",
            icon: "../../image/ascii_HL.png"
        }, {
            id: "9",
            name: "食材识别",
            url: "../../pages/ingredient/ingredient",
            icon: "../../image/ingredient_HL.png"
        }, {
            id: "10",
            name: "手势识别",
            url: "../../pages/youtuHT/youtuHT",
            icon: "../../image/youtuHT.png"
        }, {
            id: "11",
            name: "手写文字识别",
            url: "../../pages/youtuHW/youtuHW",
            icon: "../../image/youtuHW.png"
        }, {
            id: "15",
            name: "人脸美妆",
            url: "../../pages/facecosmetic/facecosmetic",
            icon: "../../image/facecosmetic.png"
        }, {
            id: "16",
            name: "人脸变妆",
            url: "../../pages/facedecoration/facedecoration",
            icon: "../../image/facedecoration.png"
        }, {
            id: "17",
            name: "滤镜特效",
            url: "../../pages/imgfilter/imgfilter",
            icon: "../../image/imgfilter.png"
        }, {
            id: "18",
            name: "大头贴",
            url: "../../pages/facesticker/facesticker",
            icon: "../../image/facesticker.png"
        } ]
    },
    onPullDownRefresh: function() {
        wx.stopPullDownRefresh();
    },
    toPage: function(e) {
        var a = e.currentTarget.id;
        0 == a ? wx.navigateTo({
            url: "/pages/dish/dish"
        }) : 1 == a ? wx.navigateTo({
            url: "/pages/car/car"
        }) : 2 == a ? wx.navigateTo({
            url: "/pages/plant/plant"
        }) : 3 == a ? wx.navigateTo({
            url: "/pages/animal/animal"
        }) : 4 == a ? wx.showModal({
            title: "功能说明",
            content: "检测图像中的主体位置，没啥好玩的。就不开放了。",
            showCancel: !1
        }) : 7 == a ? wx.navigateTo({
            url: "/pages/logo/logo"
        }) : 9 == a ? wx.navigateTo({
            url: "/pages/ingredient/ingredient"
        }) : 10 == a ? wx.navigateTo({
            url: "/pages/youtuHT/youtuHT"
        }) : 11 == a ? wx.navigateTo({
            url: "/pages/youtuHW/youtuHW"
        }) : 12 == a ? wx.navigateTo({
            url: "/pages/facedetectcrossageface/facedetectcrossageface"
        }) : 13 == a ? wx.navigateTo({
            url: "/pages/flower/flower"
        }) : 14 == a ? wx.navigateTo({
            url: "/pages/image2ascii/image2ascii"
        }) : 15 == a ? wx.navigateTo({
            url: "/pages/facecosmetic/facecosmetic"
        }) : 16 == a ? wx.navigateTo({
            url: "/pages/facedecoration/facedecoration"
        }) : 17 == a ? wx.navigateTo({
            url: "/pages/imgfilter/imgfilter"
        }) : 18 == a ? wx.navigateTo({
            url: "/pages/facesticker/facesticker"
        }) : 6 == a ? wx.navigateTo({
            url: "/pages/skin/skin"
        }) : 19 == a ? wx.navigateTo({
            url: "/pages/redwine/redwine"
        }) : 20 == a ? wx.navigateTo({
            url: "/pages/landmark/landmark"
        }) : 21 == a ? wx.showModal({
            title: "功能说明",
            content: "功能待完善，即将开放",
            showCancel: !1
        }) : 22 == a ? wx.navigateTo({
            url: "/pages/quickcalculation/quickcalculation"
        }) : 23 == a ? wx.navigateTo({
            url: "/pages/physiognomy/physiognomy"
        }) : wx.showModal({
            title: "温馨提示",
            content: "功能暂未开放，请点击别的功能试试",
            showCancel: !1,
            confirmText: "好的"
        });
    },
    onLoad: function() {},
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {}
}, e(a, "onPullDownRefresh", function() {}), e(a, "onReachBottom", function() {}), 
e(a, "onShareAppMessage", function() {
    return {
        title: "X-AI玩转图像、文字、人脸识别"
    };
}), a));